image/png.decoder.depth (field)
6 uses
image/png (current package)
reader.go#L113: depth int
reader.go#L174: d.depth = int(d.tmp[8])
reader.go#L175: switch d.depth {
reader.go#L231: if length%3 != 0 || np <= 0 || np > 256 || np > 1<<uint(d.depth) {
reader.go#L439: bitsPerPixel = d.depth
reader.go#L461: bitsPerPixel = d.depth
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)